window: Implement display change via root/unroot
authorMatthias Clasen <mclasen@redhat.com>
Wed, 1 May 2019 22:41:20 +0000 (22:41 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 1 May 2019 23:05:09 +0000 (23:05 +0000)
commit33a8108f199e659a1596324e0daf2b866d55c495
tree917f5ee91a77a4adf30ff1e52e07d8237911d3d6
parent78d254370c5240b76d320f8ceb374da153843926
window: Implement display change via root/unroot

Export gtk_widget_root/unroot privately,
make them work on roots, and use them in
gtk_window_set_display. This gets us to a
single way to listen for display changes,
the root property.
gtk/gtkwidget.c
gtk/gtkwidgetprivate.h
gtk/gtkwindow.c